package org.diysearch.tests;

import junit.framework.TestCase;

import org.diysearch.helpers.PageHelper;
import org.diysearch.models.Page;

public class PageTests extends TestCase {
	public void testGetPage() {
		String uri = "/homepage";
		try {
			Page page = PageHelper.getPage(uri);
			assertNotNull("page not null",page);
		} catch (Exception ex) {
			ex.printStackTrace(System.out);
			fail("page get fail");
		}
	}
}
